package com.kingschan.util.bean;
/**
 * CompareBean
 * @author Administrator
 *date:2013-7-17
 */
public class CompareBean {
	private Object object;
	private Object compareobject;
	
	public CompareBean(Object p_object,Object p_compareobject){
		this.object=p_object;
		this.compareobject=p_compareobject;
	}
	
	/**
	 * .toString method of md5 compare
	 * @return
	 */
	public boolean MD5Compare(){
		boolean eq = false;
		return eq;
	}
	/**
	 * is same type
	 * @return
	 */
	public boolean sameType(){
		if (getObject().hashCode()==getCompareobject().hashCode()) {
			return true;
		}
		return false;
		
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public Object getCompareobject() {
		return compareobject;
	}

	public void setCompareobject(Object compareobject) {
		this.compareobject = compareobject;
	}
	
	
}
